﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	AppTask
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<% 
            var app = ViewData["app"] as App;
            var tasks = ViewData["tasks"] as IList<AppTask>;
%>
    
    <h2>【<%= app.Title %>】</h2>

    <b>快速任务:</b>
    <%foreach (var task in tasks)
      {%>
      <div class="sec">
        <a href="<%= task.FuncUrl %>">【<%= task.Title %>】</a><br />
        <%= task.Description %>
      </div>      
    <%} %>

    <div class="sec">
        --<a href="http://<%= ConfigurationManager.AppSettings["AppPortalLocation"]%>/<%=app.Name %>">更多</a>
    </div>



</asp:Content>
